<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			};
		},
		onLoad() {
			const src = uni.getStorageSync('src')
			if(src) {
				this.src = src
			}
		},
		onBackPress() {
			uni.removeStorageSync('src')
		}
	}
</script>

<style lang="scss">

</style>
